import request from '@/utils/request'

// 歌单分类
export const PlayList = prams => request({
  url: '/playlist/catlist',
  // 弹层分类
  prams
})

// 热门歌单分类
export const PlayListHot = () => request({
  url: '/playlist/hot'
})

export const ListHot = params => request({
  url: '/top/playlist',
  params
})
// 获取歌单详情
export const PlayListDetail = params => request({
  url: '/playlist/detail',
  params
})

export function Highquality (cat) {
  return request({
    url: `/top/playlist/highquality${cat}`
  })
}

export function Related (id) {
  return request({
    url: `/top/playlist/highquality${id}`
  })
}
